<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>热点加盟城市</title>
	</head>
	<body>
		<div class="div-content">
			<dict:dict type="province,city,district" var="provincecitydistrict" />
			<script type="text/javascript">
var provincecitydistrict = eval('('+'<%=application.getAttribute("provincecitydistrict")%>'+')');
		</script>
			<html:form action="/console/recruit/townEx.do" styleId="townForm" method="POST">
				<input type="hidden" name="method" class="method" value="save" />
				<html:hidden property="id" />
				<table class="table-layout">
					<tr class="tr-odd">
						<td class="td-label">
							省<span class="required">*</span>
						</td>
						<td>
							<span id="townContainer_0"> <html:hidden property="provinceId" /> <select id="town_0"></select> </span>
						</td>
					</tr>
					<tr class="tr-even">
						<td class="td-label">
							市<span class="required">*</span>
						</td>
						<td>
							<span id="townContainer_1"> <html:hidden property="cityId" /> <select id="town_1"></select> </span>
						</td>
					</tr>
					<tr class="tr-odd">
						<td class="td-label">
							区/县
						</td>
						<td>
							<span id="townContainer_2"> <html:hidden property="districtId" /> <select id="town_2"></select> </span>
						</td>
					</tr>
					<tr class="tr-even">
						<td class="td-label">
							类型<span class="required">*</span>
						</td>
						<td>
							<html:radio property="typeCode" value="2">特许经销商</html:radio>
						</td>
					</tr>
					<tr class="tr-odd">
						<td class="td-label">
							年份<span class="required">*</span>
						</td>
						<td>
							<html:text property="age" />
						</td>
					</tr>
					<tr class="tr-even">
						<td class="td-label">
							数量<span class="required">*</span>
						</td>
						<td>
							<html:text property="amount" />
						</td>
					</tr>
				</table>
				<br />
				<div class="center-opertion">
					<html:submit>提交</html:submit>
					<html:cancel>取消</html:cancel>
				</div>
			</html:form>
		</div>
		<script type="text/javascript">
showDropDown(provincecitydistrict,["provinceId","cityId","districtId"],"town");
		</script>
	</body>
</html>
